Skip to content

Swarming: Fix double base64 encoding of secret_bytes in swarming tasks#5249

Open
IvanBM18 wants to merge 1 commit intomasterfrom
fix/swarming/double_encoding
Open

Swarming: Fix double base64 encoding of secret_bytes in swarming tasks#5249
IvanBM18 wants to merge 1 commit intomasterfrom
fix/swarming/double_encoding

Conversation

@IvanBM18
Copy link
Copy Markdown
Collaborator

@IvanBM18 IvanBM18 commented Apr 20, 2026

This small Pr fixes a misconception we had since the beginning, we were manually encoding the input_dowload_url to then give it to the secret_bytes at the swarming request, which in paper is correct. BUT the swarming request proto implicitly encodes the given bytes, hence we were encoding them twice.

So we remove the additional encoding from the request.

Test performed

This changes have been present in dev since April 16th
We are able to successfully download the input using the signed url.

@IvanBM18 IvanBM18 requested review from jardondiego and letitz April 20, 2026 20:42
@IvanBM18 IvanBM18 self-assigned this Apr 20, 2026
@IvanBM18 IvanBM18 requested a review from a team as a code owner April 20, 2026 20:42
@IvanBM18 IvanBM18 added the swarming Changes related to the clusterfuzz-swarming integration label Apr 20, 2026
Copy link
Copy Markdown
Collaborator

@letitz letitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@IvanBM18 IvanBM18 requested a review from javanlacerda April 21, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

swarming Changes related to the clusterfuzz-swarming integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants